package com.ff.xyh.access.service.impl.post;

import com.ff.xyh.access.service.post.PostReplyFeignService;
import com.ff.xyh.common.entity.result.ResultObject;
import com.ff.xyh.common.qo.post.PostReplyQuery;
import com.ff.xyh.feign.client.post.PostReplyClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Auther FF
 * @Date 2023年 05月 24日
 * @Time 14:45
 */

@Service
public class PostReplyFeignServiceImpl implements PostReplyFeignService {

    @Autowired
    PostReplyClient postReplyClient;


    @Override
    public ResultObject getPostReplyCondition(PostReplyQuery postReplyQuery) {
        return postReplyClient.getPostReplyCondition(postReplyQuery);
    }

    @Override
    public ResultObject deletePostReply(String replyId) {
        return postReplyClient.deletePostReplyById(replyId);
    }
}

